

    <?php
    //Start session
    session_start();	
    //Unset the variables stored in session
    unset($_SESSION['SESS_MEMBER_ID']);
    unset($_SESSION['SESS_FIRST_NAME']);
    unset($_SESSION['SESS_LAST_NAME']);
    ?>

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Please Login</title>
<link rel="stylesheet" type="text/css" href="../css/login.css" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
</head>
<body>

<a href="index.php" class="back_home_button">Back to Home</a>


<div class="container">
	<section id="content">
    	<div>
                <?php
					if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >0 ) {
					echo '<div id="login_err">';
					foreach($_SESSION['ERRMSG_ARR'] as $msg) {
					echo '<p>',$msg,'</p>';
					}
					echo '</div>';
					unset($_SESSION['ERRMSG_ARR']);
					}
					?>
         </div>
    <form name="registrationform" action="registration_exec.php" method="post">
			<h1>Registration Form</h1>
            <div id="login_err">* Required Fields</div>
			<div>
            <font color="#FF0000">* </font>
				<input type="text"  name="firstname" placeholder="First Name"  required id="firstname" />
			</div>
			<div>
            <font color="#FF0000">* </font>
				<input type="text"  name="lastname"  placeholder="Last Name" required id="lastname" />
			</div>
			<div>
            <font color="#FF0000">* </font>
				<input type="text"  name="emailid"  placeholder="Email Id" required id="emailid" />
			</div>
			<div>
            <font color="#FF0000">* </font>
				<input type="password"  name="password"  placeholder="Password" required id="password" />
			</div>
			<div>
            <font color="#FF0000">* </font>
				<input type="password"  name="confirmpassword"  placeholder="Confirm Password" required id="confirmpassword" />
			</div>
			<div>
            <font color="#FF0000" size="16pt";>* </font>
				<input type="text"  name="addressline1"  placeholder="Address Line 1" required id="addressline1" />
			</div>
			<div>
                <font color="#FF0000">&nbsp; </font>
				<input type="text"  name="addressline2"  placeholder="Address Line 2" id="addressline2" />
			</div> 
			<div>
            <font color="#FF0000">* </font>
				<input type="text"  name="postalcode"  placeholder="Postal Code" required id="postalcode" />
			</div>

			<div>
				<input type="submit" value="Register" />
			</div>

		</form><!-- form -->
            

	</section><!-- content -->

</div><!-- container -->


</body>
</html>